package cn.rentaotao.spring.web;

import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;

/**
 * bean 的条件加载
 *
 * @author rtt
 * @date 2022/5/9 14:13
 */
public class SpittleCondition implements Condition {

    @Override
    public boolean matches(ConditionContext conditionContext, AnnotatedTypeMetadata annotatedTypeMetadata) {

        return true;
    }
}
